package net.uzen.office.attached.service;

import java.util.List;
import java.util.Map;

import net.uzen.office.attached.dao.AttachedDao;
import net.uzen.office.attached.model.Attached;

public class AttachedServiceImpl implements AttachedService {

	private AttachedDao attachedDao;

	public void setAttachedDao(AttachedDao attachedDao) {
		this.attachedDao = attachedDao;
	}

	@Override
	public int createAttached(Attached attached) {
		return attachedDao.createAttached(attached);
	}

	@Override
	public boolean deleteAttached(Attached attached) {
		return attachedDao.deleteAttached(attached);
	}

	@Override
	public Attached getAttached(Attached attached) {
		return attachedDao.getAttached(attached);
	}

	@Override
	public List<Attached> getAttachedList(Map<String, Object> requestMap) {
		return null;
		//return attachedDao.getAttachedList(requestMap);
	}

	@Override
	public boolean modifyAttached(Attached attached) {
		return attachedDao.modifyAttached(attached);
	}

}
